package com.engineering.elink.domain;

import java.util.Date;

public class VideoBrowse {
    private Integer browseId;

    private Integer videoId;

    private Date time;

    private String userId;
    
    public VideoBrowse(){
    	
    }
    public VideoBrowse(Integer videoId,String userId){
    	this.videoId=videoId;
    	this.userId=userId;
    	this.time=new Date();
    }

    public Integer getBrowseId() {
        return browseId;
    }

    public void setBrowseId(Integer browseId) {
        this.browseId = browseId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }
}